﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace _0812045
{
    public class BulletManager : EntityManager
    {
        public override void InitPrototypes(ContentManager contentManager)
        {
            _nprototype = 1;
            _prototype = new Bullet[_nprototype]; // read information from configuration file(s)

            _prototype[0] = new Bullet();
            _prototype[0].Init(contentManager, 1, "bullets");
            //((Bullet)_prototype[0]).nDelay = 1;

            //_prototype[1] = new Character();
            //_prototype[1].Init(contentManager, 10, "Character2");
            //((Character)_prototype[1]).nDelay = 6;
        }
    }
}
